poudre_tsibble <-as_tsibble(poudre_flow, index = Date)
Plot Time Series
gg_time <-ggplot(poudre_tsibble, aes(x = Date, y = Flow)) +geom_line(color ="blue") +labs(title ="Monthly Mean Streamflow: Cache la Poudre River",x ="Date", y ="Flow (cfs)")gg_time
# Animate with plotlyggplotly(gg_time)
Subseries Plot
gg_subseries(poudre_tsibble, Flow)
Interpretation
The subseries plot shows how streamflow changes by month across years. Each line represents a year, and each facet represents a month, which helps visualize seasonal cycles. Typically, you’ll notice higher flows in spring/early summer and lower flows in late summer/fall. The “subseries” are the flow values for each month across the years, showing consistent seasonal peaks and troughs.